package edu.towson.greenteam.command;

import edu.towson.greenteam.InformationAggregator;


public class CMDAddComment implements Command
{
	InformationAggregator ia;
	String content;
	String custname;

	public CMDAddComment(InformationAggregator ia, String content, String custname) {
		this.ia = ia;
		this.content = content;
		this.custname = custname;
	}

	public Object execute() {
		return ia.getCustComments().add(content, custname);
	}
}
